from django.db import models

# Create your models here.
class JosModules(models.Model):
    id = models.IntegerField(primary_key=True)
    title = models.TextField()
    content = models.TextField()
    ordering = models.IntegerField()
    position = models.CharField(max_length=50, blank=True)
    checked_out = models.IntegerField()
    checked_out_time = models.DateTimeField()
    published = models.IntegerField()
    module = models.CharField(max_length=50, blank=True)
    numnews = models.IntegerField()
    access = models.IntegerField()
    showtitle = models.IntegerField()
    params = models.TextField()
    iscore = models.IntegerField()
    client_id = models.IntegerField()
    control = models.TextField()
    class Meta:
        db_table = u'jos_modules'

